/*
 * @Author: Leo.wang wanglizhigs@163.com
 * @Date: 2023-12-08 21:05:51
 * @LastEditors: Leo.wang wanglizhigs@163.com
 * @LastEditTime: 2023-12-08 21:06:20
 * @FilePath: /tuberculosis_screening_app/src/service/navigate.ts
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
export function navigate(url:string) {
  if (url) {
    uni.navigateTo({
      url,
    });
  }
}

export function switchTab(url:string) {
  if (url) {
    uni.switchTab({
      url,
    });
  }
}
